package PhamVanHien_LV2_BT02;

import java.util.Scanner;

public class OctagonViews {
public static void main(String[] args) {
	Octagon objC = new Octagon();
	Scanner nhap = new Scanner(System.in);
	double side;
	System.out.println("Input side:");
	side = nhap.nextDouble();
	objC.setSide(side);
	OctagonController oct = new OctagonController(objC);
	System.out.println("" + oct.Area());
	System.out.println("" + oct.Perimeter());
}
}
